package com.eastfair.pay.chinaums.CScanB;

import javax.servlet.http.HttpServletRequest;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 通知监听
 */
public class Notify {

    public void notifyListener(HttpServletRequest request){
        Map<String, String[]> map = request.getParameterMap();
        Map<String, String> paramMap = new LinkedHashMap<>();

        map.forEach((String key, String[] values) -> {
            paramMap.put(key, values[0]);
        });

        System.out.println(paramMap);
        //对参数进行签名认证
        //参数处理
    }

}
